<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>新增证件类型细分</title>
  </head>
  <body>
    <div class="page unitBox">
      <form method="post" action="save_add_community_permitPartition" class="pageForm required-validate add_community_permitPartition_form" onsubmit="return validateCallback(this, dialogAjaxDone)" novalidate="novalidate">
        <div class="pageContent">
          <div class="pageFormContent add-permitPartition-form" layouth="97">
            <dl>
              <dt>证件名称：</dt>
              <dd>
                <input type="text" class="required" name="partitionName" maxlength="20" placeholder="最多允许输入20个中文"/>
              </dd>
            </dl>
            <dl>
              <dt>证件类型：</dt>
              <dd>
                <select name="permitId">
                  <option>--请选择--</option>
                  <c:forEach var="permit" items="${permits}">
                    <option value="${permit.id}">${permit.permitName}</option>
                  </c:forEach>
                </select>
              </dd>
            </dl>
            <dl>
              <dt>链接地址：</dt>
              <dd>
                <input type="text" class="url" name="referUrl" placeholder="请输入正确格式的网址"/>
              </dd>
            </dl>
          </div>
          <div class="formBar">
            <ul>
              <li>
                <div class="buttonActive">
                  <div class="buttonContent">
                    <button type="submit">保存</button>
                  </div>
                </div>
              </li>
              <li>
                <div class="button">
                  <div class="buttonContent">
                    <button class="close" type="button">关闭</button>
                  </div>
                </div>
              </li>
            </ul>
          </div>
        </div>
      </form>
    </div>
  </body>
</html>
